<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>netshop/"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Book Store by www.softwarerusher.cn</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="wrap">
  <div class="header">
    <div class="logo"><a href="index.jsp"><img src="images/logo.gif" alt="" title="" border="0" /></a></div>
    <div id="menu">
      <ul>
        <li><a href="index.jsp">主页</a></li>
        <li><a href="about.jsp">关于我们</a></li>
        <li><a href="allcategory">百科全书</a></li>
        <li><a href="todayhot">今日特供</a></li>
        <li class="selected">
        <%if(session.getAttribute("login")==(null)||"false".equals(session.getAttribute("login"))){ %>
        <a href="myaccount.jsp">
        <%}else{ %>
        <a href="myaccountlogin.jsp">
        <%} %>
        我的账户
        </a></li>
        <li><a href="register.jsp">注册账户</a></li>
        <!--<li><a href="details.jsp">价格</a></li>-->
        <li><a href="contact.jsp">联系我们</a></li>
      </ul>
    </div>
  </div>
  <div class="center_content">
    <div class="left_content">
      <div class="title"><span class="title_icon"><img src="images/bullet1.gif" alt="" title="" /></span>我的账户</div>        
      <div class="feat_prod_box_details">
        <p class="details"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud. </p>
        
        
        <div class="contact_form">
          <div class="form_subtitle">登录账户</div>
         
          <form name="register" action="netshop/alter" method = "post">
            <div class="form_row">
              <label class="contact_left"><strong>账号:</strong></label>
              <label class="contact_left"><strong><%=session.getAttribute("ID") %></strong></label> 
            </div>
            <div class="form_row">
              <label class="contact_left"><strong>姓名:</strong></label>
                 <label class="contact_left"><strong><%=session.getAttribute("name") %></strong></label>
             </div>
             <div class="form_row">
              <label class="contact_left"><strong>性别:</strong></label>
                 <label class="contact_left"><strong><%=session.getAttribute("gender") %></strong></label>
             </div>
             <div class="form_row">
              <label class="contact_left"><strong>邮箱:</strong></label>
                 <label class="contact_left"><strong><%=session.getAttribute("email") %></strong></label>
             </div>
             <div class="form_row">
              <label class="contact_left"><strong>电话:</strong></label>
                 <label class="contact_left"><strong><%=session.getAttribute("phone") %></strong></label>
             </div>
             <div class="form_row">
              <label class="contact_left"><strong>等级:</strong></label>
              <label class="contact_left"><strong><%=session.getAttribute("discount") %></strong></label>
             </div>
             <div class="form_row">
              <label class="contact_left"><strong>余额:</strong></label>
                 <label class="contact_left"><strong><%=session.getAttribute("balance") %></strong></label>
             </div>
             <div class="form_row">
              <label class="contact_left"><strong>地址:</strong></label>
                 <label class="contact_left_addr"><strong><%=session.getAttribute("addr") %></strong></label>
             </div>
             
            <div class="form_row">
              <input type="submit" class="register" value="修改" />
            </div>
          </form>      
      </div>


            <a href="orderhistory?ID=<%=session.getAttribute("ID") %>" class="continue">&lt; 购书记录</a>
            

            
  
            
     
  
      
   </div>
      <div class="clear"></div>
    </div>
    <!--end of left content-->
    <div class="right_content">
<jsp:include page="cartview.jsp" /> 
      <div class="title"><span class="title_icon"><img src="images/bullet3.gif" alt="" title="" /></span>rush一下，你就知道</div>
      <div class="search">
        <form name ="search_now" action = "netshop/search" method= "post">
        <input type = "text" value = "斗破苍穹" name ="searchcontext" style="width:230px;height:20px;"/>
        <a class = "more"  href="javascript:document.search_now.submit()" ><img src="images/search_now.jpg" alt="" title="" border="0"/></a>
        </form>
        <p></p><p></p><p></p><p></p>
      </div>
            <jsp:include page="todayhot.jsp" /> 
      <jsp:include page="categorybox.jsp" />
    </div>
    <!--end of right content-->
    <div class="clear"></div>
  </div>
  <!--end of center content-->
  <div class="footer">
    <div class="left_footer"><img src="images/footer_logo.gif" alt="" title="" /><br />
      <a href="http://www.softwarerusher.cn">www.softwarerusher.cn</a></div>
    <div class="right_footer"> <a href="http://www.softwarerusher.cn">主页</a> <a href="about.jsp">关于我们</a> <a href="http://www.softwarerusher.cn">售后服务</a> <a href="http://www.softwarerusher.cn">保密规则</a> <a href="contact.jsp">联系我们</a> </div>
  </div>
</div>
</body>
</html>
